#include "SNFeatureParams.h"
//-----------------------------------------------------------------------

SNFeatureParams::SNFeatureParams()
{
}
//-----------------------------------------------------------------------

SNFeatureParams::~SNFeatureParams()
{
}
//-----------------------------------------------------------------------

void SNFeatureParams::Init(const SNFeatureParams& fp)
{
	MaxCatCount = fp.MaxCatCount;
	FeatSize = fp.FeatSize;
}
//-----------------------------------------------------------------------

void SNFeatureParams::Write(cv::FileStorage &fs) const
{

}
//-----------------------------------------------------------------------

bool SNFeatureParams::Read(const cv::FileNode &node)
{
	return true;
}
//-----------------------------------------------------------------------

cv::Ptr<SNFeatureParams> SNFeatureParams::Create(int feature_type)
{
	return feature_type == LBP ? cv::Ptr<SNFeatureParams>(new SNLBPFeatureParams) : cv::Ptr<SNFeatureParams>();
}
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------

SNLBPFeatureParams::SNLBPFeatureParams()
{
	MaxCatCount = 256;
}
